/* Products section (scoped) */
.dc-products .dc-products-grid {
  margin-top: 40px;
}

.dc-products .dc-product-card {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dc-products .dc-product-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.dc-products .dc-bullets {
  margin: 14px 0 0;
  padding-left: 18px;
}

.dc-products .dc-bullets li {
  margin-bottom: 8px;
}

.dc-products .dc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dc-products .dc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.04);
  font-size: 12px;
}

.dc-products .dc-demo {
  --dc-primary: #667eea;
  --dc-secondary: #764ba2;
  position: relative;
  min-height: 600px;
  background: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

.dc-products .dc-demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.dc-products .dc-demo-title {
  font-weight: 700;
  color: #000000;
  margin: 0;
}

.dc-products .dc-theme-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dc-products .dc-theme-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.25);
  cursor: pointer;
}

.dc-products .dc-theme-btn:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.dc-products .dc-widget-demo {
  position: relative;
  height: 510px;
  background: #ffffff;
  border-radius: 10px;
  border: none;
  overflow: hidden;
}

.dc-products .dc-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--dc-primary) 0%, var(--dc-secondary) 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-products .dc-toggle svg { width: 26px; height: 26px; fill: #fff; }

.dc-products .dc-window {
  position: absolute;
  right: 14px;
  bottom: 92px;
  width: min(380px, calc(100% - 28px));
  height: 380px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.dc-products .dc-window.active { display: flex; }

.dc-products .dc-header {
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--dc-primary) 0%, var(--dc-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dc-products .dc-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.dc-products .dc-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  opacity: 0.85;
  cursor: pointer;
}

.dc-products .dc-messages {
  flex: 1;
  padding: 12px;
  background: #ffffff;
  overflow: auto;
}

.dc-products .dc-msg {
  margin-bottom: 10px;
  display: flex;
}

.dc-products .dc-msg.user { justify-content: flex-end; }

.dc-products .dc-bubble {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.35;
}

.dc-products .dc-msg.user .dc-bubble {
  color: #fff;
  background: linear-gradient(135deg, var(--dc-primary) 0%, var(--dc-secondary) 100%);
  border-bottom-right-radius: 4px;
}

.dc-products .dc-msg.bot .dc-bubble {
  background: #fff;
  border: none;
  border-bottom-left-radius: 4px;
}

.dc-products .dc-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: none;
  background: #fff;
}

.dc-products .dc-input input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
  background: rgba(0,0,0,0.04);
}

.dc-products .dc-input input:focus {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.25);
}

.dc-products .dc-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--dc-primary) 0%, var(--dc-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-products .dc-send svg { width: 18px; height: 18px; fill: #fff; }

.dc-products .dc-hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

@media (max-width: 768px) {
  .dc-products .dc-product-card { margin-bottom: 20px; }
}
